<?php
/**
 * LoginLog
 * @OA\Schema(
 *       schema="LoginLog",
 *       description="LoginLog-登录日志",
 *       @OA\Property(
 *            property="id",
 *            type="number"
 *       ),
 *      @OA\Property(
 *            property="login_name",
 *            type="string",
 *            description="用户名"
 *       ),
 *       @OA\Property(
 *            property="login_ip",
 *            type="string",
 *            description="登录IP"
 *      ),
 *     @OA\Property(
 *            property="browser",
 *            type="string",
 *            description="浏览器",
 *       ),
 *     @OA\Property(
 *            property="os",
 *            type="string",
 *            description="操作系统",
 *       ),
 *     @OA\Property(
 *            property="login_at",
 *            type="string",
 *            description="登录时间",
 *       ),
 *     @OA\Property(
 *            property="status",
 *            type="number",
 *            description="登录状态 1 成功 2 失败",
 *       )
 * )
 *
 * @OA\Get(path="/log/login",
 *   tags={"log"},
 *   summary="登录日志列表",
 *   operationId="getLoginLogs",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\Parameter(ref="#/components/parameters/pageSize"),
 *   @OA\Parameter(ref="#/components/parameters/current"),
 *   @OA\Parameter(ref="#/components/parameters/keyword"),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/QueryResponse")
 *   )
 * )
 *
 *
 * @OA\Delete (path="/log/login/{id}",
 *   tags={"log"},
 *   summary="删除登录日志",
 *   operationId="deleteLoginLog",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\Parameter(ref="#/components/parameters/id"),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/HandleResponse")
 *   )
 * )
 */